﻿using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;
using WebApiV2.Data;
using WebApiV2.Data.Entity;

namespace WebApiV2.Interface.Log
{
    public interface ILog
    {
        Logs GetLogById(int id);
        void Insert(Logs log);

        void Delete(Logs ILog);
        IEnumerable<Logs> Query(DateTime beginTime, DateTime endTime, LogLevel logLevel, int userId = 0);
        void Clear();

    }
}
